package com.fpx.open.platform.domain.ae.waybill;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

import com.fpx.open.platform.domain.ae.EventHeader;

public class LogisticsWaybillEvent {
    @NotNull(message="eventHeader不能为空")
    @Valid
    private EventHeader eventHeader;
    @NotNull(message="waybillBody不能为空")
    @Valid
    private WaybillBody waybillBody;
    public EventHeader getEventHeader() {
        return eventHeader;
    }
    public void setEventHeader(EventHeader eventHeader) {
        this.eventHeader = eventHeader;
    }
    public WaybillBody getWaybillBody() {
        return waybillBody;
    }
    public void setWaybillBody(WaybillBody waybillBody) {
        this.waybillBody = waybillBody;
    }
    
}
